/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package calculator;

import java.util.ArrayList;

/**
 *
 * @author maria
 */
public class Find {
 public   static final boolean  findName(ArrayList tmp,String s){
     int j=0;
     boolean find=false;
     while (j !=tmp.size()){
        
         if(tmp.get(j).equals(s)){
             find=true;
         break;
         }
          j++;
        
     }
       return find;
}
    
}
